GrapeCity SPREAD for Windows Forms 11.0J
IsPointInLink(Graphics,Int32,Int32,Rectangle,String,Font,HorizontalAlignment,VerticalAlignment,LinkArea[],Picture) メソッド


GDI+グラフィックスサーフェス
ポイントのX座標
ポイントのY座標
画像矩形
ハイパーリンクのテキスト
テキストのフォント
水平方向の配置
垂直方向の配置
ハイパーリンク領域
ピクチャ(画像)
ポイントがハイパーリンクコントロールのリンクのテキスト内にあるかどうかを決定します。
構文
'Declaration
 
Public Overloads Shared Function IsPointInLink( _
   ByVal g As Graphics, _
   ByVal x As Integer, _
   ByVal y As Integer, _
   ByVal r As Rectangle, _
   ByVal text As String, _
   ByVal f As Font, _
   ByVal horizontalAlignment As HorizontalAlignment, _
   ByVal verticalAlignment As VerticalAlignment, _
   ByVal areas() As LinkArea, _
   ByVal pict As Picture _
) As Integer
'使用法
 
Dim g As Graphics
Dim x As Integer
Dim y As Integer
Dim r As Rectangle
Dim text As String
Dim f As Font
Dim horizontalAlignment As HorizontalAlignment
Dim verticalAlignment As VerticalAlignment
Dim areas() As LinkArea
Dim pict As Picture
Dim value As Integer
 
value = FpHyperlink.IsPointInLink(g, x, y, r, text, f, horizontalAlignment, verticalAlignment, areas, pict)

パラメータ

g
GDI+グラフィックスサーフェス
x
ポイントのX座標
y
ポイントのY座標
r
画像矩形
text
ハイパーリンクのテキスト
f
テキストのフォント
horizontalAlignment
水平方向の配置
verticalAlignment
垂直方向の配置
areas
ハイパーリンク領域
pict
ピクチャ(画像)
参照

FpHyperlink クラス
FpHyperlink メンバ
オーバーロード一覧

 

 


© 2004-2018, GrapeCity Inc. All rights reserved.